function updateWriterService(changes, writer_profile_id) {
    return db("writer_services_offered")
        .where({
            writer_profile_id,
        })
        .first()
        .update(changes);
}
//updates existing writer service on writer profile
updates existing writer service on writer profile
updates existing writer service on writer profile
function updateWriterService(changes, writer_profile_id) {
    return db("writer_services_offered")
        .where({
            writer_profile_id,
        })
        .first()
        .update(changes);
}
function updateWriterService ( changes , writer_profile_id ) { return db ( "writer_services_offered" ) . where ( { writer_profile_id , } ) . first ( ) . update ( changes ) ; }
updates existing writer service on writer profile
updates existing writer service on writer profile