commit after method setup to avoid db lock