swap start/end inserted in db in bar data