changing min value to sync db